package com.appbase.custom.base;

import android.os.Parcel;
import android.os.Parcelable;

public  class Abilities implements Parcelable {
    public int position;
    public int range_alarm;
    public int route_history;
    public int g_sensor;
    public int live_play;
    public int remote_play;
    public int route_record;

    protected Abilities(Parcel in) {
        position = in.readInt();
        range_alarm = in.readInt();
        route_history = in.readInt();
        g_sensor = in.readInt();
        live_play = in.readInt();
        remote_play = in.readInt();
        route_record = in.readInt();
    }

    public static final Creator<Abilities> CREATOR = new Creator<Abilities>() {
        @Override
        public Abilities createFromParcel(Parcel in) {
            return new Abilities(in);
        }

        @Override
        public Abilities[] newArray(int size) {
            return new Abilities[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(position);
        dest.writeInt(range_alarm);
        dest.writeInt(route_history);
        dest.writeInt(g_sensor);
        dest.writeInt(live_play);
        dest.writeInt(remote_play);
        dest.writeInt(route_record);
    }
}
